<template>
  <el-dialog
    v-model="visible"
    :title="title"
    destroy-on-close
    class="normal-dialog"
  >
    <slot />
  </el-dialog>
</template>
<script setup>
import {ref} from 'vue'
const props = defineProps({
})

const visible = ref(props.visible)

defineExpose({
    visible
})



</script>

<style lang="scss">


.normal-dialog {
  width: fit-content;
  .el-dialog__body{
  padding: 24px;
  margin: 0;
}
.el-dialog__header{
 display: none;

}
}


</style>